import static org.openjdk.jol.info.ClassLayout.parseInstance;

public class T09
{
    public static void main(String[] args) throws InterruptedException
    {
        Object o = new Object();

        System.out.println(parseInstance(o).toPrintable());
        /**
         *  OFFSET  SIZE   TYPE DESCRIPTION                               VALUE
         *       0     4        (object header)                           01 00 00 00 (00000001 00000000 00000000 00000000) (1)
         *       4     4        (object header)                           00 00 00 00 (00000000 00000000 00000000 00000000) (0)
         *       8     4        (object header)                           58 0d 00 00 (01011000 00001101 00000000 00000000) (3416)
         *      12     4        (loss due to the next object alignment)
         * Instance size: 16 bytes
         * Space losses: 0 bytes internal + 4 bytes external = 4 bytes total
         */
    }
}
